package com.examples.gateway.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.examples.core.mybatis.base.BaseSafeEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @ClassName: SystemUserRole
 * @Description: TODO
 * @Author: DAIYALU
 * @Date: 2024/4/2
 * @Version: 1.0
 */
@Data
@TableName("system_user_role")
@EqualsAndHashCode(callSuper = true)
public class SystemUserRole extends BaseSafeEntity {

    /**
     * ID
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 角色ID
     */
    private Long roleId;

}
